from django.contrib import admin

from .models import User, Project, ProfilePhoto


@admin.register(User)
class UserAdmin(admin.ModelAdmin):
    fields = (
        ("username", "email"),
        ("is_staff", "is_superuser", "is_active"),
        ("date_joined", "last_login"),
        "metadata"
    )


# admin.site.register(User)
admin.site.register(Project)
admin.site.register(ProfilePhoto)
